<? session_start();
	if(isset($_SESSION['id']) & isset($_SESSION['pass']))
	{
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Form Tambah Mata Kuliah</title>
</head>

<body>
<form method="post" action="add_mk.php">
	<table>
		<tr>
			<td colspan="3">Menu Tambah Mata Kuliah</td>
		</tr>
		<tr>
			<td>Kode MK</td>
			<td>:</td>
			<td><input name="kodemk" type="text"></td>
		</tr>
		<tr>
			<td>Nama MK</td>
			<td>:</td>
			<td><input name="nama" type="text"></td>
		</tr>
		<tr>
			<td>SKS</td>
			<td>:</td>
			<td><input name="sks" type="text"></td>
		</tr>
		<tr>
			<td>Prasyarat SKS</td>
			<td>:</td>
			<td><input name="prasyaratsks" type="text"></td>
		</tr>
		<tr>
			<td>Prasyarat 1</td>
			<td>:</td>
			<td><input name="prasyarat1" type="text"></td>
		</tr>
		<tr>
			<td>Prasyarat 2</td>
			<td>:</td>
			<td><input name="prasyarat2" type="text"></td>
		</tr>
		<tr>
			<td>Prasyarat 3</td>
			<td>:</td>
			<td><input name="prasyarat3" type="text"></td>
		</tr><tr>
			<td>Prasyarat 4</td>
			<td>:</td>
			<td><input name="prasyarat4" type="text"></td>
		</tr>
		<tr>
			<td>Prasyarat 5</td>
			<td>:</td>
			<td><input name="prasyarat5" type="text"></td>
		</tr>
		<tr>
			<td>Prasyarat 6</td>
			<td>:</td>
			<td><input name="prasyarat6" type="text"></td>
		</tr>
		<tr>
			<td>Prasyarat 7</td>
			<td>:</td>
			<td><input name="prasyarat7" type="text"></td>
		</tr>
		<tr>
			<td>Prasyarat 8</td>
			<td>:</td>
			<td><input name="prasyarat8" type="text"></td>
		</tr>
		<tr>
			<td>Prasyarat 9</td>
			<td>:</td>
			<td><input name="prasyarat9" type="text"></td>
		</tr>
		<tr>
			<td>Prasyarat 10</td>
			<td>:</td>
			<td><input name="prasyarat10" type="text"></td>
		</tr>
		<tr>
			<td>Prasyarat Grade</td>
			<td>:</td>
			<td><input name="prasyaratgrade" type="text"></td>
		</tr>
		<tr>
			<td><input name="submit" type="submit" value="Save"></td>
			<td>&nbsp;</td>
			<td><input name="reset" type="reset" value="Reset"></td>
		</tr>
	</table>
	<a href="menu_mata_kul.php">Back to Manu Mata Kuliah</a><br>
	<a href="menu_admin.php">Back to Menu Admin</a>
</form>

</body>
</html>
<? 
	}
	else
	echo "Silahkan <a href='index.php'>Login</a> dulu.";
?>
